const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  configureWebpack: {
    devServer: {
      port: 8082,
      host: 'localhost',

    },
    resolve: {
      //取目录别名
      alias: {
        //@代表目录src
        'assets': '@/assets',
        'components': '@/components',
        'network': '@/network',
        'utils': '@/utils',
        'views': '@/views'
      }
    }

  }

})
